﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Bit.Art.Core.Models
{
    /// <summary>
    /// 更新用户余额的信息
    /// </summary>
    public class UpdateBalanceMessage : DataMessageBase
    {
        public UpdateBalanceMessage()
        {
            Type = (int)MessageType.UpdateBalance;
        }

        /// <summary>
        /// 用户Id
        /// </summary>
        public uint UserId { get; set; }

        /// <summary>
        /// 币种名称
        /// </summary>
        public string Coin { get; set; }

        /// <summary>
        /// 更新余额数量，负数为提币，正数为存币
        /// </summary>
        public decimal Amount { get; set; }
    }
}
